package com.sdry.model.cb;


import java.util.Objects;

/**
 *
 * @ClassName ReportFormEntity
 * @Description 报表返回
 * @Author lz
 * @Date 2019年3月8日 11:46:52
 * @Version 1.0
 */
public class ReportFormEntity {

    //物料id
    private Long materiaId;
    //本月新增-本月减少
    private Integer thisMonth;
    //上月结存
    private Integer lastMonthBalance;
    //本月结存
    private Integer thisMonthBalance;
    //本月减少
    private Integer thisMonthReduce;
    //本月新增
    private Integer thisMonthAdd;

    //退回
    private Integer thisMonthTuiHui;

    //本月退货数量
    private Integer thisMonthReturn;
    //昨日库存
    private Integer yestdayNum;

    //名称
    private String materielName;
    //sap
    private String materielNum;
    //计量单位
    private String unit;
    //单包装
    private String packingQuantity;
    //上限
    private String upperValue;
    //下限
    private String lowerValue;

    //返工数量
    private String getFangong;

    //隔离结存数
    private String geLiBalance;
    //上个月隔离结存数
    private String lastGeLiBalance;

    //不良累计
    private Integer getBuLiangLeiJi;

    //时间
    private String createDate;

    //供应商
    private String customerName;

    //仓库id
    private Long wareHouseId;

    public Long getWareHouseId() {
        return wareHouseId;
    }

    public void setWareHouseId(Long wareHouseId) {
        this.wareHouseId = wareHouseId;
    }

    public Integer getThisMonthTuiHui() {
        return thisMonthTuiHui;
    }

    public void setThisMonthTuiHui(Integer thisMonthTuiHui) {
        this.thisMonthTuiHui = thisMonthTuiHui;
    }

    public String getGetFangong() {
        return getFangong;
    }

    public Integer getGetBuLiangLeiJi() {
        return getBuLiangLeiJi;
    }

    public void setGetBuLiangLeiJi(Integer getBuLiangLeiJi) {
        this.getBuLiangLeiJi = getBuLiangLeiJi;
    }

    public void setGetFangong(String getFangong) {
        this.getFangong = getFangong;
    }

    public Integer getYestdayNum() {
        return yestdayNum;
    }

    public void setYestdayNum(Integer yestdayNum) {
        this.yestdayNum = yestdayNum;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getLastGeLiBalance() {
        return lastGeLiBalance;
    }

    public void setLastGeLiBalance(String lastGeLiBalance) {
        this.lastGeLiBalance = lastGeLiBalance;
    }

    public Long getMateriaId() {
        return materiaId;
    }

    public void setMateriaId(Long materiaId) {
        this.materiaId = materiaId;
    }

    public Integer getThisMonth() {
        return thisMonth;
    }

    public void setThisMonth(Integer thisMonth) {
        this.thisMonth = thisMonth;
    }

    public Integer getLastMonthBalance() {
        return lastMonthBalance;
    }

    public void setLastMonthBalance(Integer lastMonthBalance) {
        this.lastMonthBalance = lastMonthBalance;
    }

    public Integer getThisMonthBalance() {
        return thisMonthBalance;
    }

    public void setThisMonthBalance(Integer thisMonthBalance) {
        this.thisMonthBalance = thisMonthBalance;
    }

    public Integer getThisMonthReduce() {
        return thisMonthReduce;
    }

    public void setThisMonthReduce(Integer thisMonthReduce) {
        this.thisMonthReduce = thisMonthReduce;
    }

    public Integer getThisMonthAdd() {
        return thisMonthAdd;
    }

    public void setThisMonthAdd(Integer thisMonthAdd) {
        this.thisMonthAdd = thisMonthAdd;
    }

    public Integer getThisMonthReturn() {
        return thisMonthReturn;
    }

    public void setThisMonthReturn(Integer thisMonthReturn) {
        this.thisMonthReturn = thisMonthReturn;
    }

    public String getMaterielName() {
        return materielName;
    }

    public void setMaterielName(String materielName) {
        this.materielName = materielName;
    }

    public String getMaterielNum() {
        return materielNum;
    }

    public void setMaterielNum(String materielNum) {
        this.materielNum = materielNum;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getPackingQuantity() {
        return packingQuantity;
    }

    public void setPackingQuantity(String packingQuantity) {
        this.packingQuantity = packingQuantity;
    }

    public String getUpperValue() {
        return upperValue;
    }

    public void setUpperValue(String upperValue) {
        this.upperValue = upperValue;
    }

    public String getLowerValue() {
        return lowerValue;
    }

    public void setLowerValue(String lowerValue) {
        this.lowerValue = lowerValue;
    }

    public String getGeLiBalance() {
        return geLiBalance;
    }

    public void setGeLiBalance(String geLiBalance) {
        this.geLiBalance = geLiBalance;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        ReportFormEntity that = (ReportFormEntity) o;
        return Objects.equals(materiaId, that.materiaId) &&
                Objects.equals(thisMonth, that.thisMonth) &&
                Objects.equals(lastMonthBalance, that.lastMonthBalance) &&
                Objects.equals(thisMonthBalance, that.thisMonthBalance) &&
                Objects.equals(thisMonthReduce, that.thisMonthReduce) &&
                Objects.equals(thisMonthAdd, that.thisMonthAdd) &&
                Objects.equals(thisMonthReturn, that.thisMonthReturn) &&
                Objects.equals(materielName, that.materielName) &&
                Objects.equals(materielNum, that.materielNum) &&
                Objects.equals(unit, that.unit) &&
                Objects.equals(packingQuantity, that.packingQuantity) &&
                Objects.equals(upperValue, that.upperValue) &&
                Objects.equals(lowerValue, that.lowerValue) &&
                Objects.equals(geLiBalance, that.geLiBalance) &&
                Objects.equals(lastGeLiBalance, that.lastGeLiBalance) &&
                Objects.equals(createDate, that.createDate) &&
                Objects.equals(customerName, that.customerName);
    }

    @Override
    public int hashCode() {
        return Objects.hash(materiaId, thisMonth, lastMonthBalance, thisMonthBalance, thisMonthReduce, thisMonthAdd, thisMonthReturn, materielName, materielNum, unit, packingQuantity, upperValue, lowerValue, geLiBalance, lastGeLiBalance, createDate, customerName);
    }
}
